package com.woniuxy.microaftersaleserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableFeignClients//开启OPENFEGIN的支持
@EnableTransactionManagement//开启事务管理器
@MapperScan("com.woniuxy.microaftersaleserver.*mag.mapper")
@EnableEurekaClient
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class})
public class MicroAfterSaleServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(MicroAfterSaleServerApplication.class, args);
    }

}
